package com.j2data.spike.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.j2data.spike.pojo.SpikeOrder;
import com.j2data.spike.pojo.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author j2data
 * @since 2022-07-05
 */
public interface ISpikeOrderService extends IService<SpikeOrder> {

    /**
     * 获取秒杀结果
     * @param user
     * @param goodsId
     * @return
     */
    Long getResult(User user, Long goodsId);
}
